Crate gui

source ·
Expand description

A crate containing the basic infrastructure for user interfaces. It strives for being completely agnostic of the underlying system and its rendering machinery as well as event dispatching.

Modules§

  • A module providing custom derive functionality for gui related traits.

Structs§

  • A bounding box representing the area that a widget may occupy. A bounding box always describes a rectangular area. The origin [x=0, y=0] is typically assumed to reside in the upper left corner of the screen, but it is really up to the individual Renderer to make do with whatever is provided.
  • An Id uniquely representing a widget.
  • A Ui is a container for related widgets.

Traits§

  • A capability allowing for various widget related operations.
  • A trait representing an object capable of handling events.
  • A trait for merging two values.
  • A mutable capability allowing for various widget related operations.
  • An Object represents a first-class entity in a UI.
  • A trait representing a renderable object.
  • An abstraction for objects used for rendering widgets.
  • A widget as used by a Ui.